

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

/**
 * 
 * @author Mahender
 *
 */
public class InputReader {

	public static void main(String[] args) throws IOException {
		System.out.println("Please input a number");
		Scanner scanner = new Scanner(System.in);
		int temp = scanner.nextInt();
		System.out.println("your input is " + temp);
		System.out.println("Please input a string");
		String input = scanner.next();
		System.out.println("Your next input is :" + input);
	
		
		
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		System.out.println("Write some line of text, we will read with BufferedReader");
		
		System.out.println(bufferedReader.readLine());
		
		
		scanner.close();
		
		
		
//		BufferedReader bufferedReaderFile = new BufferedReader(new InputStreamReader(new File("/OldLappy/training/javaTraining/Assignment")));
	}

}
